﻿<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true"
    CodeBehind="ManagerTuDiemAdd.aspx.cs" Inherits="Continental.Admin.ManagerTuDiemAdd" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_hor_menu" runat="server">
    <ul>
        <li><a href="Index.aspx"><span><strong>TRANG CHỦ</strong></span></a></li>
        <li><a href="#"><span><strong>QUẢN LÝ SẢN PHẨM</strong></span></a></li>
        <li><a href="ManagerTuDiem.aspx" class="active"><span><strong>QUẢN LÝ TỤ ĐIỂM</strong></span></a></li>
        <li><a href="#"><span><strong>QUẢN LÝ VIỆN ẢNH</strong></span></a></li>
        <li><a href="#"><span><strong>QUẢN LÝ GIẢI TRÍ</strong></span></a></li>
        <li><a href="ManagerUser.aspx"><span><strong>QUẢN LÝ NGƯỜI DÙNG</strong></span></a></li>
        <li><a href="ManagerExtension.aspx"><span><strong>MỞ RỘNG</strong></span></a></li>
    </ul>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cph_menu_content" runat="server">
    <ul>
        <li><a href="ManagerTuDiem.aspx" class="active-left-menu">Danh sách Tụ Điểm</a></li>
        <li><a href="ManagerNhomTuDiem.aspx">Quản lý Nhóm Tụ Điểm</a></li>
    </ul>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cph_breadcum" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cph_main_content" runat="server">
    <table style="width: 100%;">
        <tr>
            <td colspan="3">
                <h1>
                    <asp:Literal ID="ltlStatus" runat="server" Text="Thêm Mới"></asp:Literal></h1>
            </td>
        </tr>
        <tr>
            <td colspan="3">
                <%= message %>
            </td>
        </tr>
        <tr>
            <td>
                Nhóm Tụ Điểm
            </td>
            <td>
                <asp:DropDownList ID="ddlNhomTuDiemLevel0" runat="server" Width="300px">
                </asp:DropDownList>
            </td>
            <td>
                Phân loại Nhóm
            </td>
            <td>
                <asp:DropDownList ID="ddlNhomTuDiemLevel1" runat="server" Width="300px">
                </asp:DropDownList>
            </td>
        </tr>
       <tr>
            <td>
                Quận Huyện
            </td>
            <td>
                <asp:DropDownList ID="ddlQuanHuyen" runat="server" Width="300px">
                </asp:DropDownList>
            </td>
            <td>
                Đường phố
            </td>
            <td>
                <asp:DropDownList ID="ddlDuongPho" runat="server" Width="300px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                Tên Tụ Điểm
            </td>
            <td>
                <asp:TextBox ID="txtName" runat="server" Width="300px" MaxLength="100"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvName" ControlToValidate="txtName" runat="server"
                    ValidationGroup="CAPNHAT" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
            <td>
                Điện thoại bàn
            </td>
            <td>
                <asp:TextBox ID="TextBox1" runat="server" Width="300px" MaxLength="100"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Điện thoại di động
            </td>
            <td>
                <asp:TextBox ID="txtMobile" runat="server" Width="300px" MaxLength="100"></asp:TextBox>
            </td>
            <td>
                Email
            </td>
            <td>
                <asp:TextBox ID="txtEmail" runat="server" Width="300px" MaxLength="100"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Địa chỉ
            </td>
            <td>
                <asp:TextBox ID="txtAddress" runat="server" Width="300px" MaxLength="100"></asp:TextBox>
            </td>
            <td>
                Tọa độ
            </td>
            <td>
                <asp:TextBox ID="txtToaDo" runat="server" Width="300px" MaxLength="100"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Website
            </td>
            <td>
                <asp:TextBox ID="txtWebsite" runat="server" Width="300px" MaxLength="100"></asp:TextBox>
            </td>
            <td>
                Tiêu đề hiển thị
            </td>
            <td>
                <asp:TextBox ID="txtTitleOrName" runat="server" Width="300px" MaxLength="250"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvTitleOrName" ControlToValidate="txtTitleOrName"
                    runat="server" ValidationGroup="CAPNHAT" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Is Vip
            </td>
            <td>
                <asp:CheckBox ID="ckVip" runat="server" Checked="false" />
            </td>
            <td>
                Thứ tự sắp xếp
            </td>
            <td>
                <asp:TextBox ID="txtNumberOfRating" runat="server" Width="300px" Text="0" MaxLength="4"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                Cờ xóa
            </td>
            <td colspan="3">
                <asp:CheckBox ID="ckDeletedFlag" runat="server" Checked="false" />
            </td>
        </tr>
        <tr>
            <td>
                Ảnh đại diện
            </td>
            <td colspan="3">
                <asp:FileUpload ID="fuImage" runat="server" />
            </td>
        </tr>
        <tr>
            <td>
                Giới thiệu ngắn gọi
            </td>
            <td colspan="3">
                <asp:TextBox ID="txtShortDescription" runat="server" Width="99%" MaxLength="100"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvShortDescription" ControlToValidate="txtShortDescription"
                    runat="server" ValidationGroup="CAPNHAT" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Nội dung
            </td>
            <td colspan="3">
                <FCKeditorV2:FCKeditor ID="fckDescription" runat="server" BasePath="~/common/fckeditor/"
                    Width="99%" Height="800px">
                </FCKeditorV2:FCKeditor>
            </td>
        </tr>
        <tr>
            <td colspan="4">
                <div class="command-box">
                    <asp:Button ID="btnSave" runat="server" Width="100px" Text="Thêm mới" ValidationGroup="CAPNHAT"
                        Font-Bold="true" OnClick="btnSave_Click" />&nbsp;
                    <asp:Button ID="btnDelete" runat="server" Text="Xóa" Width="100px" OnClientClick="return confirm('Xác nhận hành động xóa?')"
                        Font-Bold="true" />
                    <asp:Button ID="btnCancel" runat="server" Text="Hủy" Width="100px" Font-Bold="true"
                        OnClick="btnCancel_Click" />
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
